#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Mall.nanopb.h"
#ifndef MAX_MALL_MALL_NUM
#define MAX_MALL_MALL_NUM 100
#endif

class MallDesc : public NFI_DESC_TEMPLATE_MACRO(MallDesc, E_Mall, EOT_CONST_MALL_MALL_DESC_ID, MAX_MALL_MALL_NUM)
public:
	MallDesc();
	virtual ~MallDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
